package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 试卷表
 *
 * @author flyme
 * @date 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_testpaper")
@TableAlias("testPaper")
@ApiModel(value="BusTestpaper对象", description="试卷表")
public class BusTestpaper extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "testpaperId", type = IdType.ASSIGN_ID)
    private Long testpaperId;

    @ApiModelProperty(value = "开始年度")
    private String beginYear;

    @ApiModelProperty(value = "结束年度")
    private String endYear;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "教授名称")
    private String professorName;

    @ApiModelProperty(value = "学期")
    private Long termId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "状态(0待审核,1审核失败,2审核成功)")
    private Integer state;



}
